<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>欢迎登录华为站点</title>
    <style>
        * html,
        body {
            margin: 0;
            padding: 0;
            height: 100%;
        }

        #container {
            min-height: 100%;
            position: relative;
        }

        #header {
            min-width: 960px;
            width: 100%;
        }

        #header_box {
            margin: 0 auto;
            height: 27px;
            padding: 11px 8.3% 10px;
            background: #000000;
        }

        #header_box img {
            width: 120px
        }

        #body {
            padding-bottom: 40px;
        }

        #footer {
            position: absolute;
            bottom: 0;
            width: 99%;
            height: 30px;
            padding-top: 10px;
            border-top: 1px solid #ebebeb;
            min-width: 950px;
        }

        .head_contact {
            float: right;
            display: inline-block;
            padding-top: 2px;
            line-height: 20px;
            height: 20px;
        }

        .head_contact span {
            float: right;
            font-size: 12px;
            letter-spacing: 0;
            font-family: PingFangSC-Regular;
        }

        span a {
            color: aliceblue;
            text-decoration: none;
            font-size: 10px;
            padding-left: 30px;
        }

        .q a {
            padding-left: 900px;
        }

        .login_bg_v2 {
            text-align: left;
            padding-bottom: 30px;
            min-width: 950px;
        }

        #content_title_v2 {
            margin: 0 auto;
            padding: 64px 0 12px;
            text-align: center
        }

        #content_title_v2 p {
            font-size: 32px;
            color: #000000;
            height: 36px;
            line-height: 36px;
            font-weight: 600;
        }

        #content_v2 {
            margin: 0 auto;
            text-align: left;
            padding-top: -400px;
        }

        .reset_tab_box_v2 {
            margin: 0px auto;
            width: 432px;
            display: flex;
            font-family: PingFangSC-Regular;
        }

        .set_ontab_v2 {
            font-size: 14px;
            cursor: pointer;
            font-weight: 600;
            width: 144px;
            text-align: center;
            word-break: break-all;
            word-wrap: break-word;
            margin: 0 8px 12px 8px;
            line-height: 16px;
        }

        .set_show {
            border-bottom: #F66F6A 2px solid;
            width: 144px;
            display: flex;
        }

        .set_hidden {
            border-bottom: #dddddd 2px solid;
            width: 144px;
            line-height: 20px;
            position: relative;
            display: flex;
        }
        .set_hidden2 {
            border-bottom: #dddddd 2px solid;
            width: 144px;
            line-height: 20px;
            position: relative;
            display: flex;
        }

        .set_offtab_v2 {
            font-size: 14px;
            display: block;
            float: left;
            cursor: pointer;
            width: 144px;
            text-align: center;
            opacity: 0.5;
            word-break: break-all;
            word-wrap: break-word;
            margin: 0 8px 12px 8px;
            line-height: 16px;
        }

        .login_main_v2 {
            width: 904px;
            background-color: #fff;
            width: 432px;
            margin: 0px auto;
            font-size: 12px;
            color: #FA2A2D;
        }

        .login_box_v2 {
            float: left;
            width: 432px;
        }

        .errormessage {
            font-size: 12px;
            color: #FF0000;
            min-height: 14px;
            font-family: PingFangSC-Regular;
            text-decoration: none;
            padding-top: 20px;
            padding-bottom: 6px;
            word-wrap: break-word;
        }

        .modify_oneline1 {
            margin-bottom: 24px;
        }

        .modify_pw_input_v2 {
            width: 375px;
            height: 46px;
            line-height: 30px;
            display: inline;
            padding-left: 16px;
            padding-right: 39px;
            border-radius: 4px;
            font-family: PingFangSC-Regular;
            font-size: 14px;
            color: #000000;
        }

        img {
            border: 0 none;
            vertical-align: top;
        }

        .redtipLogin {
            word-break: break-all;
            word-wrap: break-word;
            font-family: PingFangSC-Regular;
            font-size: 12px;
            color: #FA2A2D;
            letter-spacing: 0;
            line-height: 14px;
            margin-top: 6px;
            text-align: left;
            display: flex;
        }

        #uid {
            border: 1px solid rgb(208, 208, 208);
            color: rgb(0, 0, 0);
        }

        .modify_oneline1 {
            margin-bottom: 24px;
        }

        .pwd-input {
            position: relative;
        }

        .pwd-input img {
            position: absolute;
            right: 8px;
            width: 32px;
            top: 8px;
        }

        #pwd {
            border: 1px solid rgb(208, 208, 208);
            color: rgb(3, 0, 0);
        }

        .login_submit_pwd_v2 {
            text-align: center;
            line-height: 29px;
            height: 48px;
            width: 432px;
            cursor: pointer;
            border: 0 none;
            background: #F66F6A;
            border-radius: 4px;
            font-family: PingFangSC-Medium;
            font-size: 18px;
            color: #FFFFFF;
            margin-top: 11px;
        }

        .modify_url {
            font-family: PingFangSC-Regular;
            font-size: 14px;
            text-align: center;
            line-height: 14px;
            letter-spacing: 0;
            height: 19px;
            line-height: 19px;
            margin-top: 20px;
            width: 432px;
        }

        a.registr {
            float: left;
            color: #007DFF;
            cursor: pointer;
        }

        a.underline {
            margin-left: 20px;
            text-decoration: none !important;
            color: #007DFF !important;
            float: right;
        }

        #footer {
            position: absolute;
            bottom: 0;
            height: 36px;
            border-top: 0px;
            width: 100%;
            line-height: 36px;
            padding-top: 0px;
            color: #000000;
            font-size: 14px;
            display: flex;
            background-color: #F5F5F5;
        }

        .footer_both {
            display: flex;
            justify-content: center;
            width: 100%;
            font-size: 12px;
            color: #000000;
            background-color: #F5F5F5;
        }

        .footer_both a {
            opacity: 0.6;
            font-family: PingFangSC-Regular;
            font-size: 12px;
            color: #000000;
        }

        #conditionsPolic a {
            text-decoration: none;
            font-family: PingFangSC-Regular;
            font-size: 12px;
            color: #007DFF;
            opacity: 2 !important;
        }

        .login_main_v21 {
            width: 904px;
            background-color: #fff;
            width: 432px;
            margin: 0px auto;
            font-size: 12px;
            color: #FA2A2D;
        }
        .login_main_v23 {
            width: 904px;
            background-color: #fff;
            width: 432px;
            margin: 0px auto;
            font-size: 12px;
            color: #FA2A2D;
        }

        .login_box_v21 {
            float: left;
            width: 432px;
        }

        .errormessage_v2 {
            font-size: 12px;
            color: #FF0000;
            min-height: 14px;
            font-family: PingFangSC-Regular;
            text-decoration: none;
            padding-top: 20px;
            padding-bottom: 6px;
            word-wrap: break-word;
            position: relative;
            text-align: left;
        }

        .pw_input {
            margin-bottom: 24px;
        }

        .pw_input_flex {
            display: flex;
        }

        .select {
            position: relative;
        }

        .sl_content {
            background: #FFFFFF;
            border: 1px solid #CCCCCC;
            width: 142px;
            height: 48px;
            float: left;
            margin-right: 12px;
            padding-left: 16px;
            border-radius: 4px;
            font-size: 14px;
            color: #000000;
        }

        .select p {
            width: 112px;
            height: 46px;
            font-family: LucidaGrande;
            font-size: 14px;
            color: #000000;
            letter-spacing: 0;
            text-align: left;
            line-height: 48px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            margin-top: -1px;
        }

        .select img {
            margin-right: 16.6px;
            width: 10.4px;
            height: 5.9px;
            float: right;
            z-index: 105;
            text-align: right;
            margin-top: -37px;
        }

        .select_list {
            position: absolute;
            margin-top: 46px;
            z-index: 100;
            width: 432px;
            height: 330px;
            display: none;
        }

        .select ul {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            border: 1px solid #d9d9d9;
            border-radius: 2px;
            font-size: 12px;
            background: #fff;
            color: #333;
            margin-top: 2px;
            background: #FFFFFF;
            border: 1px solid #000000;
            border-radius: 0px 0px 4px 4px;
            height: 330px;
            overflow: auto;
        }

        .select ul li {
            text-align: left;
            padding-left: 24px;
            height: 40px;
            line-height: 40px;
            font-family: PingFangSC-Regular;
            font-size: 14px;
            color: #000000;
            list-style-type: none;
        }

        .register_countrycode_input {
            float: left;
            width: 50px;
            height: 30px;
            line-height: 30px;
            margin-left: 5px;
        }

        .phone_input_2 {
            width: 260px;
            line-height: 30px;
            float: left;
            display: inline;
            padding-left: 16px;
            border-radius: 4px;
        }

        .inputBgLine {
            border: #d0d0d0 1px solid;
            line-height: 23px;
        }

        .pwd_eye {
            margin-top: 22px;
        }

        .login_submit_pwd_v2 {
            text-align: center;
            line-height: 29px;
            height: 48px;
            width: 432px;
            cursor: pointer;
            border: 0 none;
            font-size: 16px;
            background: #F66F6A;
            border-radius: 4px;
            font-family: PingFangSC-Medium;
            font-size: 18px;
            color: #FFFFFF;
            margin-top: 11px;
        }

        .modify_url {
            
            font-family: PingFangSC-Regular;
            font-size: 14px;
            text-align: center;
            line-height: 14px;
            letter-spacing: 0;
            height: 19px;
            line-height: 19px;
            margin-top: 20px;
            width: 432px;
        }
        .modify_pw_phone_vcbutton_v2 {
    background-color: #ffffff;
    border: 0px;
    position: absolute;
    right: 21px;
       top: 13px;
    color: #007DFF;
    font-size: 14px;
    cursor: pointer;
    height: 20px;
    line-height: 20px;
}
    </style>
    <script src="js/jquery.min.js"></script>
</head>

<body>
    <div id="container">
        <div id="header">
            <div id="header_box">
                <a href="#">
                    <img src="../huawei_logo.png" alt="Logo" border="0">
                </a>
                <span class="q">
                    <a href="#">联系我们</a>
                </span>
                <span>
                    <a href="#">帮助</a>
                </span>
                <span>
                    <a href="#">简体中文（中国）</a>
                </span>
            </div>
        </div>
    </div>
    <div id="login_bg_v2">
        <div id="content_title_v2">
            <p>Uniportal帐号登录</p>
        </div>


        <div id="content_v2">
            <div class="reset_tab_box_v2">
                <div class="set_show" id="set_show">
                    <span class="set_ontab_v2" id="js_tabon" data-index="0">
                        账号/邮箱登录
                    </span>
                </div>
                <div class="set_hidden" id="set_hidden" data-index="1">
                    <span class="set_offtab_v2" id="tab_phone">
                        手机号码登录
                    </span>
                </div>
                <div class="set_hidden2" data-index="2">
                    <span class="set_offtab_v2" id="tab_smscode">
                        短信登录
                    </span>
                </div>
            </div>
            <div class="login_main_v2">
                <div class="login_box_v2" style="display: block;">

                    <div id="errormessage" class="errormessage"></div>
                    <div class="modify_oneline1">
                        <input type="text" name="uid" size="20" tabindex="1" value
                            class="inputBgLine modify_pw_input_v2" id="uid" placeholder="Uniportal帐号/邮箱">
                        <div id="check_uid_param_msg" class="redtipLogin" style="display: none;"></div>
                    </div>
                    <div class="modify_oneline1 pwd-input">
                        <input type="password" class="inputBgLine modify_pw_input_v2" id="pwd" name="password"
                            styleid="password" placeholder="密码" value>
                        <div class="box">
                            <label for="">
                                <img src="../icon_eyeClose.png" alt="" id="eye">
                            </label>
                        </div>
                        <div id="check_pwd_param_msg" class="redtipLogin" style="display: none;"></div>
                    </div>
                    <div>
                        <input class="login_submit_pwd_v2" type="button" tabindex="4" value="登录"
                            onclick="javascript:form_submit();" onfocus="javascript:flagA=false;"
                            onblur="javascript:flagA=true;">
                    </div>
                    <div class="modify_url">
                        <a class="registr" onclick="javascript:forwardtoregister();">立即注册</a>
                        <a class="underline" title
                            href="https://uniportal.huawei.com/uniportal/modifyInfo.do?actionFlag=toGetPassword&redirect=%2Funiportal%3Fredirect%3Dhttps%25253A%25252F%25252Fwww.huawei.com%25252Fcn%25252F">
                            忘记密码
                        </a>
                        <a class="underline" title
                            href="https://uniportal.huawei.com/uniportal/modifyInfo.do?actionFlag=toModifyPassword&modifypwdby=byuserid&redirect=%2Funiportal%3Fredirect%3Dhttps%25253A%25252F%25252Fwww.huawei.com%25252Fcn%25252F">
                            修改密码
                        </a>
                    </div>
                </div>

            </div>
            <!-- 手机号码登录 -->
            <div class="login_main_v21">
                <div class="login_box_v21">
                    <div id="errormessage" class="errormessage_v2"></div>
                    <div class="pw_input1 phone">
                        <div class="pw_input_flex">
                            <div class="select" id="select">
                                <div class="sl_content">
                                    <p>中国大陆(+86)</p>
                                    <img src="../select_up.png" class="xia">
                                </div>
                                <div class="select_list">
                                    <ul class="hw-poplist">
                                        <li class="list-item" id="" value="0">--请选择--</li>
                                        <li class="list-item" data-value="阿尔巴尼亚" (+355) id="+335">阿尔巴尼亚 (+355)</li>
                                        <li class="list-item" data-value="阿尔及利亚" (+213) id="+213">阿尔及利亚 (+213)</li>
                                        <li class="list-item" data-value="阿富汗" (+93) id="+93">阿富汗 (+93)</li>
                                        <li class="list-item" data-value="阿根廷" (+54) id="+54">阿根廷 (+54)</li>
                                        <li class="list-item" data-value="阿拉伯联合酋长国" (+971) id="+971">阿拉伯联合酋长国 (+971)
                                        </li>
                                        <li class="list-item" data-value="阿曼" (+968) id="+968">阿曼 (+968)</li>
                                        <li class="list-item" data-value="埃及" (+20) id="+20">埃及 (+20)</li>
                                        <li class="list-item" data-value="埃塞俄比亚" (+251) id="+251">埃塞俄比亚 (+251)</li>
                                        <li class="list-item" data-value="安道尔共和国" (+376) id="+376">安道尔共和国 (+376)
                                        </li>
                                        <li class="list-item" data-value="澳大利亚" (+61) id="+61">澳大利亚 (+61)</li>
                                    </ul>
                                </div>
                            </div>
                            <input type="hidden" name="countryCode" value="86"
                                onkeyup="setCountryByCountryCode(this.value,'')"
                                class="inputBgLine register_countrycode_input" id="countryCode">
                            <input type="text" name="mobile" size="30" value onblur="verifyCountryCodeAndMobile()"
                                class="inputBgLine phone_input_2" id="mobile" placeholder="手机号">
                        </div>
                    </div>
                    <div class="modify_oneline2" id="accountSelectShow" style="display:none">
                        <select id="accountSelect" onchange="setAccount();" class="inputBgLine phone_input_1"></select>
                    </div>
                    <div class="modify_oneline1 pwd-input">
                        <div class="pwd_eye">
                            <input type="password" class="inputBgLine modify_pw_input_v2" id="pwd1" name="password"
                                styleid="password" placeholder="密码" value>
                            <div class="box">
                                <label for="">
                                    <img src="../icon_eyeClose.png" alt="" id="eye1">
                                </label>
                            </div>
                            <div id="check_pwd_param_msg" class="redtipLogin" style="display: none;"></div>
                        </div>
                    </div>
                    <div>
                        <input class="login_submit_pwd_v2" type="button" value="登录" onclick="javascript:form_submit();"
                            onfocus="javascript:flagA=false;" onblur="javascript:flagA=true;">
                    </div>
                    <div class="modify_url">
                        <a class="registr" onclick="javascript:forwardtoregister();">立即注册</a>
                        <a class="underline" title
                            href="https://uniportal.huawei.com/uniportal/modifyInfo.do?actionFlag=toGetPassword&getPwdMethod=byPhone&redirect=%2Funiportal%3Fredirect%3Dhttps%25253A%25252F%25252Fwww.huawei.com%25252Fcn%25252F%25253Fic_medium%25253Ddirect%252526ic_source%25253Dsurlent">忘记密码</a>
                        <a class="underline" title
                            href="https://uniportal.huawei.com/uniportal/modifyInfo.do?actionFlag=toModifyPassword&modifypwdby=byphone&redirect=%2Funiportal%3Fredirect%3Dhttps%25253A%25252F%25252Fwww.huawei.com%25252Fcn%25252F%25253Fic_medium%25253Ddirect%252526ic_source%25253Dsurlent">修改密码</a>
                    </div>
                </div>
            </div>
            <script>
                $(function(){
                  $('.xia').click(function(){
                      $('.select_list').slideToggle();
                  })
                })
              </script>
            <!-- 短信登录 -->
            <div class="login_main_v23">
                <div class="login_box_v21">
                    <div id="errormessage" class="errormessage_v2"></div>
                    <div class="pw_input1 phone">
                        <div class="pw_input_flex">
                            <div class="select" id="select">
                                <div class="sl_content">
                                    <p>中国大陆(+86)</p>
                                    <img src="../select_up.png" class="xia">
                                </div>
                                <div class="select_list">
                                    <ul class="hw-poplist">
                                        <li class="list-item" id="" value="0">--请选择--</li>
                                        <li class="list-item" data-value="阿尔巴尼亚" (+355) id="+335">阿尔巴尼亚 (+355)</li>
                                        <li class="list-item" data-value="阿尔及利亚" (+213) id="+213">阿尔及利亚 (+213)</li>
                                        <li class="list-item" data-value="阿富汗" (+93) id="+93">阿富汗 (+93)</li>
                                        <li class="list-item" data-value="阿根廷" (+54) id="+54">阿根廷 (+54)</li>
                                        <li class="list-item" data-value="阿拉伯联合酋长国" (+971) id="+971">阿拉伯联合酋长国 (+971)
                                        </li>
                                        <li class="list-item" data-value="阿曼" (+968) id="+968">阿曼 (+968)</li>
                                        <li class="list-item" data-value="埃及" (+20) id="+20">埃及 (+20)</li>
                                        <li class="list-item" data-value="埃塞俄比亚" (+251) id="+251">埃塞俄比亚 (+251)</li>
                                        <li class="list-item" data-value="安道尔共和国" (+376) id="+376">安道尔共和国 (+376)
                                        </li>
                                        <li class="list-item" data-value="澳大利亚" (+61) id="+61">澳大利亚 (+61)</li>
                                    </ul>
                                </div>
                            </div>
                            <input type="hidden" name="countryCode" value="86"
                                onkeyup="setCountryByCountryCode(this.value,'')"
                                class="inputBgLine register_countrycode_input" id="countryCode">
                            <input type="text" name="mobile" size="30" value onblur="verifyCountryCodeAndMobile()"
                                class="inputBgLine phone_input_2" id="mobile" placeholder="手机号">
                        </div>
                    </div>
                    <div class="modify_oneline2" id="accountSelectShow" style="display:none">
                        <select id="accountSelect" onchange="setAccount();" class="inputBgLine phone_input_1"></select>
                    </div>
                    <div class="modify_oneline1 pwd-input">
                        <div class="pwd_eye">
                            <input type="" class="inputBgLine modify_pw_input_v2" id="pwd1" name=""
                                styleid="" placeholder="短信验证码登录" value>
                                <input id="sendButton" class="inputBgLine modify_pw_phone_vcbutton_v2" type="button" name="sendButton" onclick="javascript:sendSMSVerifyCode();" value="获取验证码  ">
                            <div id="check_pwd_param_msg" class="redtipLogin" style="display: none;"></div>
                        </div>
                    </div>
                    <div>
                        <input class="login_submit_pwd_v2" type="button" value="登录" onclick="javascript:form_submit();"
                            onfocus="javascript:flagA=false;" onblur="javascript:flagA=true;">
                    </div>
                    <div class="modify_url">
                        <a class="registr" onclick="javascript:forwardtoregister();">立即注册</a>
                        <a class="underline" title
                            href="https://uniportal.huawei.com/uniportal/modifyInfo.do?actionFlag=toGetPassword&getPwdMethod=byPhone&redirect=%2Funiportal%3Fredirect%3Dhttps%25253A%25252F%25252Fwww.huawei.com%25252Fcn%25252F%25253Fic_medium%25253Ddirect%252526ic_source%25253Dsurlent">忘记密码</a>
                        <a class="underline" title
                            href="https://uniportal.huawei.com/uniportal/modifyInfo.do?actionFlag=toModifyPassword&modifypwdby=byphone&redirect=%2Funiportal%3Fredirect%3Dhttps%25253A%25252F%25252Fwww.huawei.com%25252Fcn%25252F%25253Fic_medium%25253Ddirect%252526ic_source%25253Dsurlent">修改密码</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="footer">
        <div class="footer_both">
            <span style="opacity: 0.6;">
                版权所有 © 华为技术有限公司 1998-2021。保留一切权利。
            </span>
            <a href="#">粤xxxxxxxx号</a>
            <span id="conditionsPolic">
                <a href="#">隐私声明</a>
            </span>
        </div>
    </div>
    <script>
        var eye = document.querySelector('#eye1');
        var pwd = document.querySelector('#pwd1');
        var flag = 0;
        eye1.onclick = function () {
            if (flag === 0) {
                eye1.src = '../icon_eyeopen.png';
                pwd.type = 'text';
                flag = 1;
            } else {
                eye1.src = '../icon_eyeClose.png';
                pwd1.type = 'password';
                flag = 0;
            }
        }
        $('.login_main_v21').hide();
        $('.login_main_v23').hide();
        $('.set_hidden').click(function () {
            $('.login_main_v21').show();
            $('.login_main_v2').hide();
            $('.login_main_v23').hide();
            $('.set_hidden').css({
                borderBottomColor:'red' ,
            })
            $('.set_show').css({
                borderBottomColor:'#DDDDDD' ,
            })
            $('.set_hidden2').css({
                borderBottomColor:'#DDDDDD' ,
            })
        })
        $('.set_show').click(function () {
            $('.login_main_v21').hide();
            $('.login_main_v23').hide();
            $('.login_main_v2').show();
            $('.set_show').css({
                borderBottomColor:'red' ,
            })
            $('.set_hidden').css({
                borderBottomColor:'#DDDDDD' ,
            })
            $('.set_hidden2').css({
                borderBottomColor:'#DDDDDD' ,
            })
        })
        $('.set_hidden2').click(function () {
            $('.login_main_v21').hide();
            $('.login_main_v2').hide();
            $('.login_main_v23').show();
            $('.set_hidden2').css({
                borderBottomColor:'red' ,
            })
            $('.set_hidden').css({
                borderBottomColor:'#DDDDDD' ,
            })
            $('.set_show').css({
                borderBottomColor:'#DDDDDD' ,
            })
        })
        var eye = document.querySelector('#eye');
        var pwd = document.querySelector('#pwd');
        var flag = 0;
        eye.onclick = function () {
            if (flag === 0) {
                eye.src = '../icon_eyeopen.png';
                pwd.type = 'text';
                flag = 1;
            } else {
                eye.src = '../icon_eyeClose.png';
                pwd.type = 'password';
                flag = 0;
            }
        };
    </script>
</body>

</html>